package com.zhang.crm.service.impl;

import com.zhang.crm.mapper.TDicValuemapper;
import com.zhang.crm.pojo.TDicValue;
import com.zhang.crm.service.DicService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DicServiceImpl implements DicService {

    @Resource
    private TDicValuemapper tDicValuemapper;
    @Override
    public List<TDicValue> loadDicValue(String type) {
        List<TDicValue> dicValueList = tDicValuemapper.selectDicValueList(type);
        return dicValueList;
    }

    @Override
    public List<TDicValue> loadTranStage() {
        List<TDicValue> dicValueList = tDicValuemapper.selectTranStage();
        return dicValueList;
    }
}
